package com.ruoyi.model.records.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加
import java.io.Serializable; //添加

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型运行记录对象 model_records
 *
 * @author ruoyi
 * @date 2024-11-13
 */
@Data //添加
@TableName("model_records") //添加
public class ModelRecords extends BaseEntity implements Serializable //修改
        {
private static final long serialVersionUID=1L;

    /** id */
 //添加
        @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 模型id */
            @Excel(name = "模型id")
    private Long modelId;

    /** 模型名称 */
            @Excel(name = "模型名称")
    private String modelName;

    /** 开始时间 */
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "开始时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "结束时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 运行结果 */
            @Excel(name = "运行结果")
    private String result;

    /** 0.失败 1.成功 */
            @Excel(name = "0.失败 1.成功")
    private Integer status;

        }

